package com.sinodata.bsm.common.constants;

import java.util.HashMap;
import java.util.Map;

/**
 * <p>
 * Description: 
 * </p>
 *
 * @author wangpeng
 * @version 1.0

 * <p>
 * History: 
 *
 * Date                     Author         Version     Description
 * ---------------------------------------------------------------------------------
 * 2013-6-6 下午3:46:26          wangpeng        1.0         To create
 * </p>
 *
 * @since 
 * @see     
 */
public class SystemParameterConstants {

    private static final Map<String, String> parameterMap = new HashMap<String, String>();
    /**
     * 是否发送流程工单
     */
    public static final String PARAMETER_1 = "sendProcess";

    public static final String PARAMETER_STR_1 = "发送流程工单";

    public static final String PARAMETER_STR_NUKNOWN = "未知";

    static {
        parameterMap.put(PARAMETER_1, PARAMETER_STR_1);
    }

    public static String getSystemParameterDesc(String key) {
        if (parameterMap.containsKey(key)) {
            return parameterMap.get(key);
        } else {
            return PARAMETER_STR_NUKNOWN;
        }
    }
}
